<?php
   $this->widget('application.extensions.mbmenu.MbMenu',array(
			'items'=>array(
				   array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
				   array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('site/logout'), 'visible'=>!Yii::app()->user->isGuest),
		   	           array('label'=>'Membros', 'url'=>array('user/menber'), 'visible'=>!Yii::app()->user->isGuest),
 		   	           array('label'=>'Editar perfil', 'url'=>array('user/update&id='.Yii::app()->user->id), 'visible'=>!Yii::app()->user->isGuest),
                                   array('label'=>'Perfil dos Membros','visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ),
                                         'items'=>$menu_users,
                                   ),
                            ),
   ));
?>
